DEV Community

Busari Ridwan
Busari Ridwan

Posted on

Single Line and Multiline Comment in Top Programming Languages

A comment in computer programming is a programmer-readable explanation or annotation in a computer program's source code. They are included to make the source code simpler to comprehend for humans, and are often disregarded by compilers and interpreters. A programmer can use comments to make their code more readable.

Here, I will be showing you how to comment in some of the top programming languages of 2023. Some of they languages include JavaScript, Python, Java, TypeScript, C#, C++, PHP, Shell, C, Ruby, Kotlin and Go.

Most of the C based programming language uses

How to Write Comment in VS Code, IntelliJ, Atom, Sublime and Other IDEs

Most IDE uses the Control + / on Windows and Command + / on Mac to make comment.

What Language do you write and how do you write your comments?

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more