This is the inverse of How to manually set language for syntax highlighting in Visual Studio Code
Basically what I'd want is something similar in VI where it will detect some string that would specify the format of a file specifically for Azure Pipelines
# --language-mode: azure-pipelines
Or something similar.