Top "Comments" questions

A comment is a programming language construct used to embed non-compiled, programmer-readable annotations in the source code of a computer program.

What is the best comment in source code you have ever encountered?

What is the best comment in source code you have ever encountered?

comments
Can comments be used in JSON?

Can I use comments inside a JSON file? If so, how?

json comments
How do I comment out a block of tags in XML?

How do I comment out a block of tags in XML? I.e. How can I comment out <staticText&…

xml comments
Is there a way to create multiline comments in Python?

I have recently started studying Python, but I couldn't find how to implement multi-line comments. Most languages have block comment …

python comments documentation
How to "comment-out" (add comment) in a batch/cmd?

I have a batch file that runs several python scripts that do table modifications. I want to have users comment …

batch-file cmd comments comment-conventions
What's a quick way to comment/uncomment lines in Vim?

I have a Ruby code file open in vi, there are lines commented out with #: class Search < ActiveRecord::Migration …

vim comments
How do you comment out code in PowerShell?

How do you comment out code in PowerShell (1.0 or 2.0)?

powershell syntax powershell-2.0 comments
How do you do block comments in YAML?

How do I comment a block of lines in YAML?

comments yaml
How to comment and uncomment blocks of code in the Office VBA Editor

In the VBA editor of Office (ALT + F11), how do you comment or uncomment a block of code?

vba comments
Comments in Markdown

What is the syntax for storing a comment in a markdown file, e.g. a CVS $Id$ comment at the …

syntax comments markdown