Place it at the climax of a short edit, just after the risky decision and before the reaction shot, then follow it with an explosion sound and a defeat sting so the joke lands and the scene can reset.