Place it as the climax cut in a short edit, after a calm setup and just before the reaction shot. Follow it with a scream for the payoff, then let a buzzer close the joke so the scare turns into a laugh.