Place it right after the overreaction peaks, then follow it with an awkward moment sound to let the joke settle before the scene moves on. If the rant keeps going, add a womp womp fail sound afterwards to close the bit with a clear comedic deflation.