Place it at the end of an edit as the closing reaction, right after the helpful moment has played out on screen. Follow it immediately with a Funny Ha Ha Laugh to extend the joke, or precede it with a drum sting to set up the thank-you.