Place it near the end of an edit, after Sudden Suspense has raised the tension and just before the visual payoff lands. Follow it with Cartoon Slip if the scene turns clumsy, or leave it as the final beat so the thumping line closes the joke.