Place it at the very end of a night-time edit, after the final joke or farewell, so it closes the scene. Follow it with the Snore Mimimimimimi sound to carry the bedtime joke one beat further, keeping the ending unmistakably about going to sleep.