Place it right after the failed moment in your edit, then follow it with the sad violin for a slow comic payoff. If the failure needs a sharper reaction instead, swap in damn before the next scene. Keep it as the turning point, not the opening joke.