Purpose of Documentation Comment?

I recently discovered that my IDE highlights "documentation comments" differely from regular comments

1
2
//Normal Comment
///Documentation Comment 


I can't really figure out what a Documentation Comment is for... could someone elaborate please?

Thanks.
What IDE are you using?
Code::Blocks or Xcode

they both have Documentation Comments as a customizable syntax highlight, separate from normal comments
Read the (online, probably) literature for your IDE...

It probably has some tool like Javadoc or something that extracts information from those comments and makes a reference page or something... I've seen a lot of @something's in comments for that sort of thing. It's nice to generate documentation from code rather than maintaining the two in different places.
Topic archived. No new replies allowed.