PLDB
Languages Features Calendar About Lists Add Language
GitHub icon

MultiLine Comments

MultiLine Comments

MultiLine Comments are a language feature.

Comments that span multiple lines.

Languages without MultiLine Comments include R, JSON, Fortran, COBOL, Visual Basic, Erlang, Elixir, Ada, Tcl, Bash, Crystal, Eiffel, LaTeX, Emacs Lisp, Tex, VHDL, Nginx, GraphQL Schema Definition Language

Languages with MultiLine Comments include Java, JavaScript, C, Python, HTML, C++, SQL, PHP, XML, Ruby, Go, Perl, C#, Scala, MATLAB, Swift, MySQL, Rust, Haskell, Lua, CSS, TypeScript, Scheme, Objective-C, Clojure, PostgreSQL, SAS, Mathematica, Kotlin, Prolog, Julia, Pascal, PowerShell, OCaml, Dart, Groovy, F#, CoffeeScript, D, Smalltalk, Solidity, Nim, Delphi, Chapel, Elm, CUDA, Verilog, Reason, PostScript, Haxe, GNU Octave, Modula-2, Rexx, PureScript, Modula-3, Applescript, WebAssembly, ANTLR, Io, Hy, MIPS architecture, SVG, Oberon, Boo, ActionScript, Hack, Yacc, Protocol Buffers, OpenCL, AMPL, HCL, AutoIt, Fantom, PostCSS, Wolfram Language, Stata, Agda, Opa, Ceylon, JSON5, PEG.js, Maxima, X10, Bison, Processing, Lasso, xBase, PL/I, Zephir, Frege, DOT, B, Object Pascal, ATS, SystemVerilog, Monkey, Bicep, Twig, LiveScript, Less, Pig Latin, Fortress, Csound, Hjson, Isabelle, Transact-SQL, JAI, Nextflow, Pony, muPad, AspectJ, Gosu, PARI/GP, TLA, DTrace, Jison, EBNF, QML, Lex, LilyPond, Classroom Object Oriented Language, Cryptol, Alloy, ooc, GLSL, Flow9, PL/M, PL/pgSQL, JFlex, Xtend, eC, P4, Fibonacci, Closure Templates, Angelscript, UrWeb, Whiley, Cypher Query Language, DAX, MiniD, Apex, ARexx, basic calculator, SCSS, Ron, OpenEdge ABL, clay, XSLT, JSL, BlitzMax, XS, Ligo, PowerQuery M, Argdown, HLSL, SourcePawn, Mask, ECL, DM, CLIST, Shen, JSON with Comments, Linden Scripting Language, Game Maker Language, Objective C++, Orc, Bluespec, TAL, Ion, NetLinx, Eclipse Command Language, RenderScript, WebIDL, Cycript, Mako, COMPONENT PASCAL, POV-Ray SDL, Sophia, Amazon Redshift, Jsonnet, LoomScript, Slice, Type Language, Augeas, blockml, CartoCSS, Edje Data Collection, kai, Plus, winxed, FML, Soy, HAGGIS, HuJSON, Simple Actor Language System and Architecture, ProbeVue, Pawn, omega, dedukti, Urbiscript, boa, Handel-C, Arden syntax, AmbientTalk, Boogie, bioscript, Manchester syntax, SARL, Spice, Croc, Smithy

Example from Java, JavaScript, C, C++, SQL, PHP, Go, C#, Scala, Swift, MySQL, Rust, CSS, TypeScript, Objective-C, PostgreSQL, SAS, Kotlin, Prolog, Dart, Groovy, Solidity, Chapel, CUDA, Verilog, Reason, Haxe, Rexx, ANTLR, ActionScript, Hack, Yacc, Protocol Buffers, OpenCL, HCL, Fantom, PostCSS, Stata, Opa, Ceylon, JSON5, PEG.js, X10, Bison, Processing, Lasso, xBase, PL/I, Zephir, DOT, B, SystemVerilog, Bicep, LiveScript, Less, Pig Latin, Hjson, JAI, Nextflow, AspectJ, PARI/GP, DTrace, Jison, QML, Lex, Alloy, Flow9, PL/M, JFlex, Xtend, eC, P4, Closure Templates, Angelscript, Cypher Query Language, DAX, Apex, ARexx, SCSS, Ron, JSL, XS, PowerQuery M, SourcePawn, Mask, ECL, DM, CLIST, JSON with Comments, Linden Scripting Language, Game Maker Language, Objective C++, Ion, Eclipse Command Language, RenderScript, WebIDL, Cycript, POV-Ray SDL, Sophia, Amazon Redshift, Jsonnet, LoomScript, Slice, Type Language, blockml, CartoCSS, Edje Data Collection, kai, Plus, winxed, Soy, HuJSON, Simple Actor Language System and Architecture, ProbeVue, Handel-C, Arden syntax, bioscript, Manchester syntax:

/* A comment */

Example from Python:

''' A comment. '''

Example from HTML, XML, SVG, Argdown:

<!-- A comment -->

Example from Ruby:

=begin A comment. =end

Example from MATLAB:

%{ A comment. %}

Example from Lua:

--[[ A comment. --]]

Example from Scheme:

#| A comment |#

Example from Clojure:

(comment A comment )

Example from Mathematica, Pascal, OCaml, F#, Modula-2, Modula-3, Applescript, Oberon, Wolfram Language, Object Pascal, ATS, Fortress, Isabelle, TLA, EBNF, Classroom Object Oriented Language, Fibonacci, UrWeb, Ligo, Bluespec, NetLinx, COMPONENT PASCAL:

(* A comment *)

Example from Julia:

#= A comment. =#

Example from PowerShell:

<# A comment #>

Example from CoffeeScript, MIPS architecture:

### A comment ###

Example from D:

/+ A comment +/

Example from Smalltalk:

" A comment "

Example from Nim:

#[ A comment ]#

Example from Delphi:

{ A comment }

Example from Elm, PureScript, Frege, Orc, omega:

{- A comment -}

Example from Twig:

{# A comment #}

Example from FML:

### A comment ###

Example from HAGGIS:

''' A comment '''

Example from dedukti:

(; A comment ;)

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements · Email · GitHub