Place it at the very end of a comedy beat, after the spoken line is complete. For a bad-joke payoff, lead in with a censor beep for the setup, then let this clip close the scene before a dun dun dun sting resets the next segment.