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.

How to comment in Vim's config files: ".vimrc"?

How do I add a comment in Vim's configuration files, like .vimrc?

vim comments configuration-files
Commenting multiple lines in DOS batch file

I have written huge MS DOS Batch file. To test this batch file I need to execute some lines only …

batch-file comments dos
SQL comment header examples

Would just like too see what peoples Stored Procedure/Function etc comment headers look like (so post your examples)...I've …

sql comments
Python: How to ignore #comment lines when reading in a file

In Python, I have just read a line form a text file and I'd like to know how to code …

python string file-io comments skip
Javadoc: line breaks without HTML-tags?

Sorry for a probable FAQ kind of question, but I just can't find the answer. As far as I remember …

java netbeans comments javadoc
How to do block comments in Gherkin?

In gherkin syntax (used by Cucumber and SpecFlow, I can comment out a line by prefixing it with '#' …

syntax cucumber comments specflow gherkin
Is '# -*- coding: utf-8 -*-' also a comment in Python?

As we use # for inserting comments in Python, then how does Python takes: # -*- coding: utf-8 -*- differently?

python encoding comments
Can we have multiline comments in a Java properties file?

In a Java .properties file we can do single line comments with #. Is there any way by which we can …

java properties comments
What is the syntax for writing comments in build.gradle file?

Looking down this build.gradle file apply plugin: 'com.android.application' android { compileSdkVersion 21 buildToolsVersion "21.1.2" defaultConfig { applicationId "package.myapp" minSdkVersion 19 targetSdkVersion 21 …

android gradle comments android-gradle-plugin build.gradle
Jinja2 inline comments

How can I put comments inside Jinja2 argument list declaration ? Everything I have tried gives an error: jinja2.exceptions.TemplateSyntaxError: …

python macros jinja2 comments