Documentation generator for embedded C projects
Doxygen is the best option for generating documentation from code comments. It is also heavily used in industry to generate documentation for embedded C projects. If you are using MPLABX (which is actually a netbeans ide), there is plugin for doxygen available, see below link:
http://plugins.netbeans.org/plugin/14326/doxygen-integration