Place it right after the gross reveal, as the punchline that closes the moment before the next scene. Follow it with the SpongeBob Fail Sound when the failure is the joke, or open with the Dun Dun Dun Sound when you want a bigger build-up before the reveal.