Place it in the middle of a horror edit, after a Dun Dun Dun cue builds the tension and before a Vine Boom hit lands the joke, so it becomes the twist between the warning and the payoff.