Place it at the moment of the reveal, then follow with the shocked reaction before the laugh takes over and closes the joke. That order keeps the surprise first, the reaction second and the payoff last, so the edit builds instead of peaking too early.