This tutorial focuses on commenting lines in a configuration file on Linux, the examples used here are from Debian 10. However they will work on any other linux distribution too. Lines get commented out do deactivate them. You can use
How to comment out lines in configuration files on Linux
