commentsare
Commentsare is a proposed framework for standardizing the way documentation comments are written, parsed, and used across programming languages and content formats. It treats comments as structured, machine-readable annotations in addition to human-readable notes, with the aim of improving documentation generation, code navigation, and static analysis. The concept appears in theoretical discussions and experimental tooling rather than as an official language specification.
Its core ideas include structured blocks within comments that carry metadata such as type, severity or level,
A language-agnostic example of a Commentsare block might include fields such as version, kind or type, id,
Supportive tooling would include linters that enforce consistency, parsers that extract blocks for indexing, and documentation
Inline documentation, docstrings, literate programming, code documentation standards such as JSDoc and reStructuredText.