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