Place it at the end of a failed attempt as the closing reaction, after a build-up from a goofy ahh sound and before an emotional damage sting lands the joke. That order gives the edit a clear setup, a peak and a punchline without crowding the moment.