I\'ve searched but didn\'t find any info on how to disable references (or the codelens completely) in the Visual Studio Code, they\'re quite useless and annoying for me.
You can enable or disable code lense by setting the editor.codeLens setting in user settings (see https://code.visualstudio.com/Docs/editor/editingevolved#_reference-information for more info).