A Portsmouth comedian has got through the first round of Britain’s Got Talent - by the skin of his teeth.