Place it right after the failed moment in your edit, then follow it with Sad Violin to stretch the moment before the next scene. If the joke needs a sharper turn, use Nelson's Ha-Ha! instead as the follow-up, so the scene changes direction instead of staying in the same place.