Place it near the end of a scene, after the joke or setback has landed, so it closes the moment rather than opening it. Follow it with Hello Darkness My Old Friend to extend the scene, or precede it with a light laugh to make the shift land harder.