Place it at the end of a dull scene, right after the moment that loses the room, then follow it with Ba Dum Tss to close the failed joke. For a late-night montage, keep it as the final beat before a cut to morning, with Drama Button setting up the moment just before it.