microsoft visual studio 2020 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