The question mark means that minification will run only when %kernal.debug% is set to true. This is regardless of the environment as you could set debug mode to true in production or false in dev or test environment. It is generally the case that debug mode is set to true for dev and false for prod though.
You read more about environments and a bit about debug mode in the documentation.
I hope that clarifies things a bit.