Place it right after the failed joke in your edit, then follow it with Nelson's Ha-Ha! for a bigger laugh, or cut to Sad Violin when the moment turns into a proper fail.