Lately I started using ///
to comment my C# code rather than //
or /*
because it is just much simpler to use. Today I started wondering why there were different types and came across this SO question which states that ///
comments are for generating the xml documentation.
I can't find any advice with regards to on type of comments vs another on Google and I take that to mean that it doesn't matter either way. I'm not getting any ill effects so far from using ///
to comment, but I'd hate to get into a habit now just to unlearn it later. As far as I can tell, if there are no metatags in the comments it does not get recognised as being documentation (or am I completely wrong on that?)
Before I riddle my code with ///
comments, is this type of commenting a big no-no? Could there be potential problems from commenting this way?