music: Tweak comment parsing for substitute configs.

Allow comments to be attached to the end of configuration lines, as
well as being specified on a line on their own.