Should I use comments for documentation purposes? If so, what are some recommended practices?
It’s recommended that you use documentation comments when needed. This is especially true for public-facing code that others may use. A best practice is to implement the comments using the Java Doc-style. In addition, be sure to provide documentation comments for methods, constructors, and objects with documented methods. See the examples below.
I recommend using JSDoc as a documentation generator.