Place it as the payoff at the end of a build-up, after the moment of realisation and just before the reaction shot. Follow it with a fail sting for the landing, then a short burst of applause to close the joke and reset the scene for the next clip.