Ignore Master for Variable fonts?

I have a 3-master document, which I will use for the static instances. However, for the variable font version of the typeface I could do without the middle master.

Is there some way of ignoring a master upon export? I would prefer not having two separate docs.

A Disable Masters Custom parameter in the Font should do the trick.