Place it just before the moment goes wrong in a fail edit, then follow the fallout with the Directed by Robert B. Weide sting for the credits joke, or a short laugh track if the reaction stays in the scene.