Sometimes, configuration files contain a lot of comment lines for options explanations and default values.
Is there a way to hide comment lines in the Visual Studio Code editor?
Actually a switch button would be nice, with automatic recognition of comment lines, depending on the file extension.
As a turn around, I have to open a terminal and filter the file with:
egrep -v -e "^[[:space:]]*$|^[[:space:]]*;.*$|^[[:space:]]*#.*$" some_file.conf