Like overriding the endpoint URL of APIs through service center, we should be able to turn off documentation on the Production environment for security reasons.
This is currently being configured in the Service Studio (Yes or No values) and will be carried over to deployed environments. Not really safe to do publishes in the production just to turn off documentation.