I have a Blazor Server project that also uses ANTLR.Compiler generates c# code files for every .razor file and ANTL grammar file. This skews the code metrics in visual studio. While the dev controlled LoCs are small, the compiler generated files have large number of lines of code - which should not be manually modified.
Is there a way to remove the compiler generated files from the code metrics calculation?