Place it at the end of a disappointment scene, just after the setback is clear. Follow it with a fail sound for a comic beat, then let sad music carry the closing shot. That order keeps the scene light before the closing shot ends.