Place it at the end of a reveal or a failed plan, after the setup has landed, then follow it with a sharp scream for the shock or a flat emotional damage hit for the fallout, keeping the laugh as the payoff in the middle.