Place it right after a hopeful setup collapses in your edit, then follow it with sad violin to stretch the joke a beat longer before cutting to the next scene or a reaction shot.