visual studio tools 2015 code example
Example: disable codelens visual studio 2019
To disable CodeLens, choose Tools > Options > Text Editor > All Languages > CodeLens, and deselect the feature
To disable CodeLens, choose Tools > Options > Text Editor > All Languages > CodeLens, and deselect the feature