Put it at the end of a serious setup, after a Dun Dun Dun build-up, so the joke lands as the payoff rather than the opening. Follow it with a Vine Boom sound to reset the scene, or a SpongeBob Fail sound when the joke is meant to keep going.