// A comment
# A comment
<!-- Hello World in HTML -->
/* This is a single-line comment */ p { color: red; }
// https://doc.rust-lang.org/reference/comments.html
// a comment
% This is a comment
-- a single line comment
{- A multiline comment
which can continue for many lines
-}
% hello world program
// Hi
/* Assume address is not null. */
/* A comment
*/
{ This is a single line comment in pascal. But needs to be closed. }
-- A comment
C
C Lines that begin with 'C' (in the first or 'comment' column) are comments
C
% A comment
(* This is a single-line comment. *)
(* This is a
* multi-line
* comment.
*)
* A comment where first character must be *.
; A comment
-# A comment
' A comment
# a '#' or ';' character indicates
; a comment
$comment: "A comment"
REM This BASIC program shows the use of the PRINT and GOTO Statements.
(: Hello World with XQuery :)
REM A comment
:: Another type of comment
// A comment
/* Another comment */
(* A comment *)
* => 1000000000 */
(* A comment
*)
; I am a comment
{# A comment
#}
\* A comment
(* This is a multi-line comments
and it will span multiple lines. *)
{ This is a single line comment in pascal }
Test
\" comment
Test
Test
\# comment
Test
__ A comment
# Comments start with a # and continue to the end of the line:
// A comment
/* A comment */
--- A comment
! A comment
-- A simple function, that is used inside the macro below.
defun ap x y
++ x
y
defmacro : input
z:string input
-- Example with print:
print : Hello, World!
What's going on in here?
(; This is a comment ;)
''' A comment
'''
{- A comment
-}
~ A comment
{ within pairs of braces }
(* left parenthesis/asterisk and asterisk/right parenthesis pairs *)
// preceded by two forward slashes
# <This is a comment>
// comment
;; A comment
@ a comment @
# Blah blah…
# Unlike some file formats, comments in recfiles must be complete lines. You cannot start a comment in the middle of a line.
COMMENT A comment
# This is a line comment
###
This is a block comment
###
(* query examples *)
Languages with Comments include JavaScript, Python, C, Java, HTML, Perl, CSS, Ruby, PHP, Go, TypeScript, XML, SQL, C#, R, Bash, PowerShell, Swift, Rust, Scala, Lua, MATLAB, Haskell, Kotlin, Clojure, Elixir, CoffeeScript, Objective-C, Julia, SAS, Erlang, Prolog, Mathematica, COBOL, Dart, CUDA, Solidity, Visual Basic, Pascal, Ada, Nim, YAML, Fortran, PostgreSQL, Racket, TOML, Crystal, Zig, Reason, MySQL, D, Elm, Scheme, Haxe, GraphQL, WebAssembly, Groovy, awk, Tex, OCaml, F#, Chapel, SPSS, Pug, LLVM IR, Smalltalk, ClojureScript, PureScript, VHDL, HCL, HAML, Idris, SVG, Protocol Buffers, Forth, Visual Basic .NET, Ini, Deno, APL, JSON5, Yacc, ARM, LaTeX, OpenCL, J, Red, fish, Maple, MongoDB, Embedded Crystal, ANTLR, odin, Lean, Delphi, sed, IDL, V, Stata, ABAP, Verilog, Tcl, PostCSS, Pony, FLUX, BASIC, ActionScript, Hy, starlark, Dhall, KaTeX, Ballerina, AutoHotkey, Fennel, Factor, PostScript, Squirrel, Wren, Less, Common Lisp, ColdFusion, API Blueprint, XQuery, Eiffel, PEG.js, Smali, Cap'n Proto, MoonScript, MUMPS, Flow, VBScript, Zephir, Makefile, EDN, Frege, DOT, NetLogo, Nginx, Logo, Pig Latin, carp, PL/SQL, Batchfile, GNU Octave, Koka, Vala, M4, Lex, Terra, Opa, QML, C3, Jsonnet, Eve, Halide, PRQL, SPARQL, Processing, Dafny, Bicep, MIPS architecture, Nearley, mlir, janet, Futhark, Agda, VBA, PL/I, Emacs Lisp, Wolfram Language, Nextflow, Jison, Hack, Hjson, Ceylon, POV-Ray SDL, Applescript, QBasic, AMPL, SystemVerilog, unison, Expect, DTrace, x86 Assembly, progsbase, Modula-2, YASnippet, GAP, ECL, Scilab, JAI, Click, Cue, Rexx, Oberon, Slope, Cryptol, AutoIt, AGC, Taichi, Golo, Simula, idyll, C2, wisp, GLSL, Twig, Transact-SQL, mgmt, Clean, WDL, eC, Sage, Boo, PowerBuilder, HLSL, Felix, Mercury, Nemerle, Ron, BCPL, CWL, Ring, CIL, AspectJ, Mirah, SuperCollider, K, EBNF, Dylan, Perl 6, Datalog, Observable, Mu, Modula-3, Oz, ooc, Logica, Closure Templates, TLA, Xojo, Neko, B, Flow9, Nit, SCSS, Lily, Gosu, REBOL, Modelica, Maxima, Bison, Shen, JCL, xBase, ATS, CLIPS, SugarSS, Fancy, Io, JFlex, Isabelle, Fantom, NSIS, Dale, Xtend, datascript, Pike, Object Pascal, LFE, ArkScript, Befunge, Java Properties, X10, SourcePawn, NewLisp, LilyPond, Lasso, OpenSCAD, NCAR Command Language, Turing, Logtalk, P4, BlitzMax, PL/pgSQL, Csound, E, Icon, Whiley, Reia, FoxPRO, PureBasic, PAWN, mun-lang, UrWeb, LiveScript, Cg, Filebench WML, Angelscript, clay, JSON with Comments, Ch, Dockerfile, IGOR Pro, dlvm, Objective C++, Clipper, LiveCode, basic calculator, Java Bytecode, JADE, OpenEdge ABL, Logos, Monkey, Gherkin, Euphoria, GDScript, Argdown, lispyscript, SNOBOL, Objective-J, XSLT, BlitzBasic, Classroom Object Oriented Language, groff, Ragel, Vigil, Alloy, spry, Harbour, Gettext Catalog, dex, Praat Script, Cypher Query Language, Ren'Py, PicoLisp, CIL, MQL5, Ligo, Apex, Falcon, FreeBASIC, Pan, DAX, Mask, Volt, Concise Encoding, Netwide Assembler, OCL, Spatial, Guile, Gerbil Scheme, Augmented Backus-Naur Form, Tea, Croc, OX, C shell, Genie, Seed7, PL/M, muPad, popr, Script.NET, UNLAMBDA, Linden Scripting Language, Fortress, spiral, Not Quite C, Mako, Opal, High Level Assembly, neut, PARI/GP, Gentoo Ebuild, LPC, JSLT, DM, RELAX NG, NetLinx, BitBake, NestedText, MAXScript, Jule, Bluespec, Game Maker Language, Eclipse Command Language, S-PLUS, Jasmin, PEG, Strips, HuJSON, Oberon-2, Redcode, HOPE, Dc, SETL, Structured Query Reporter, Spin, GW-BASIC, BETA, Gambas, SMT, HiveQL, Cycript, FloScript, Unicon, Z, Slice, monte, Sophia, WebIDL, XS, Asymptote, Rc, CIR, ldpl, LoomScript, Hocon, PIC, COMPONENT PASCAL, Lingo, Joy, storyscript, Sather, Vale, LotusScript, MiniD, Cell, Nymph, CartoCSS, dedukti, Grammatical Framework, Ezhil, LookML, Refal, Type Language, SRecode Template, RenderScript, Brightscript, Not eXactly C, Maya Embedded Language, ACL2, Adventure Game Studio Script, pointless, gentee, ShaderLab, GCC Machine Description, Edje Data Collection, METAFONT, BLISS, HAGGIS, QB64, KRL, Charity, Orc, CLIST, MOO, Parser 3, Mouse, Action!, PowerBASIC, Aldor, Frink, ARexx, Savi, kai, Turbo Pascal, S-algol, KiXtart, Alpine Abuild, XBase++, NetRexx, silk, manool, OpenVera, Wart, Uniform eXchange Format, MVEL, Raku, Project Mentat, tht, EuLisp, JS++, Augeas, Heron, NS Basic, Mary, Speedie, Easytrieve, Yoix, Simple Actor Language System and Architecture, parasail, Lite-C, Yet Another Scripting Language, Plus, RLaB, TAL, Fjölnir, Aardvark, Rescript, winxed, xxl, Judoscript, PROMAL, Quaint, Language Server Index Format, neeilang, Bel, taf, carth, FutureBASIC, Rust MIR, Handel-C, VHDL-AMS, Tuple space, NESL, Pawn, Boron, Xbasic, SIL, PowerQuery M, Amazon Redshift, True BASIC, Rita, Q#, owen-lang, SimCode, OEM, Claro, BuddyScript, blockml, Urbiscript, S3, Pnuts, Ion, XPL0, MACRO-10, Ren, ISETL, ActiveVFP, Action Code Script, Fable, ProbeVue, omega, z80, blz, Recfiles, StarOffice Basic, CLOS, SNOBOL4, Operational Control Language, hilvl, False, AmbientTalk, Arden syntax, ThinBasic, Zimpl, PromQL, Guix Workflow Language, flagship, fizz, beads-lang, Atomese, JSL, stella, Spice, SARL, rosette-lang, Plot, Lexon, epsilon, Boogie, boa, OptimJ, XBLite, holyc, Treelang, verifpal, Sweet Expressions, lain, Parrot BASIC, FML, Fibonacci, Caché Basic, Module Management System, WxBasic, luau, Bla, Soy, Reactive Plan Language, Literate Agda, Finite State Language, Turbo Basic, rbs, GraphQL Schema Definition Language, ca65 Assembly, USD, Yedalog, SubX, StruQL, Robots.txt, Manchester syntax, CFScript, ppm-format, Netpbm grayscale image format, Portable Bit Map Format, dslx, ctalk-lang, bioscript, Creative Basic, wescheme, txr, PkgConfig, PacmanConf, KonsolScript, turnstile, ddfql, BABEL, tremor-query, rbscript, Smithy, zephyr-asdl, sora, Lighttpd configuration file
Languages without Comments include JSON, Regular Expressions, Tree Notation, JCOF
View all concepts with or missing a hasComments measurement