line-commenter-tool

A tool to comment or uncomment lines in a file based on regex patterns and specific strings.

extract-comments

Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).