Ctrl+P
Turns the first word in a line into a keyword or a #comment. Also recognizes $variables.
keyword
#comment
$variables
automatic for .conf files
.conf
override your current syntax highlight by choosing Key Value when changing file association
Key Value
make it permanent in settings.json
settings.json
"files.associations": { "*.yml": "key-value", }