Place it at the peak of a build-up, after the warning that something is about to go wrong, then follow it with a bass drop for the impact. For a slower joke, lead with it was at this moment he knew, then let this clip deliver the payoff before a fail sound closes the scene.