No, XML document comments can only be displayed for certain types of elements, as described in this article :
In source files, documentation comments preceding the following can be processed and added to the XML file:
User types such as class, delegate, or interface
Members such as a field, event, property, or method
If you place a file-level XMLDoc-style comment in your file, it will be added to the next class or other element that appears. Some documentation tools, such as Sandcastle, provide a way to add XMLDoc comments at the space level, but they usually appear in a separate file.
Of course, you can use XMLDoc style comments in every file, for example. copyright header or similar, simply using the standard / * * / style comment blocks.
source share