Put it near the end of a food or dessert edit, just after the vendor's trick, then follow it with a sitcom laugh track to close the joke and crowd cheering if the customer finally gets the cone.