Put it right after the failed moment in a short edit, then follow it with the sad violin to stretch the joke, or lead into it with the wrong answer sound when a quiz guess misses.