Place it just before the reveal in a short edit, so it sets up the awkward moment, then follow it with a sad trombone for the fallout or a sitcom laugh track when the joke lands with the crowd.