Place it right after the bad idea is revealed, then follow it with a goofy ahh sound for the reaction and an emotional damage sting to close the joke, keeping the sequence short so the punch stays with the character's choice.