PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

MultiLine Comments

MultiLine Comments

MultiLine Comments are a feature.

Comments that span multiple lines.


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

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

Example from Java, JavaScript, C, C++, SQL, PHP, C#, MySQL, Go, Swift, Scala, CSS, Rust, PostgreSQL, TypeScript, SAS, Prolog, Kotlin, Objective-C, CUDA, Dart, Reason, ActionScript, Verilog, Solidity, Yacc, Groovy, OpenCL, Chapel, Haxe, Rexx, ANTLR, Lasso, Protocol Buffers, Processing, Hack, DOT, Jison, Fantom, Zephir, X10, PL/I, Nextflow, QML, xBase, JSON5, Ceylon, Stata, PostCSS, SystemVerilog, Opa, HCL, Bison, B, Lex, Alloy, LiveScript, Bicep, PEG.js, Less, Pig Latin, AspectJ, JFlex, XS, DTrace, SourcePawn, Closure Templates, Ion, Xtend, eC, Ron, PARI/GP, Hjson, P4, PL/M, Angelscript, JAI, ARexx, blockml, Mask, Apex, DM, Linden Scripting Language, Eclipse Command Language, WebIDL, POV-Ray SDL, CartoCSS, RenderScript, Game Maker Language, ECL, Edje Data Collection, Objective C++, Slice, CLIST, SCSS, Cycript, winxed, Flow9, LoomScript, Type Language, Arden syntax, Cypher Query Language, Handel-C, Plus, DAX, JSON with Comments, Simple Actor Language System and Architecture, PowerQuery M, Boron, Jsonnet, HuJSON, Soy, kai, JSL, Sophia, Manchester syntax, ProbeVue, Amazon Redshift, bioscript:
/* A comment */
Example from Python:
''' A comment. '''
Example from HTML, XML, SVG, Argdown:
<!-- A comment -->
Example from MATLAB:
%{ A comment. %}
Example from Ruby:
=begin A comment. =end
Example from Pascal, Mathematica, Modula-2, F#, Modula-3, OCaml, Applescript, Oberon, Object Pascal, TLA, Isabelle, ATS, Wolfram Language, UrWeb, Classroom Object Oriented Language, Bluespec, EBNF, Fortress, NetLinx, COMPONENT PASCAL, Fibonacci, Ligo:
(* A comment *)
Example from Lua:
--[[ A comment. --]]
Example from Clojure:
(comment A comment )
Example from PowerShell:
<# A comment #>
Example from Julia:
#= A comment. =#
Example from Scheme:
#| A comment |#
Example from Delphi:
{ A comment }
Example from CoffeeScript, MIPS architecture:
### A comment ###
Example from Elm, PureScript, Frege, omega, Orc:
{- A comment -}
Example from D:
/+ A comment +/
Example from Smalltalk:
" A comment "
Example from Nim:
#[ A comment ]#
Example from Twig:
{# A comment #}
Example from Jule:
/* A multi line comment */
Example from FML:
### A comment ###
Example from HAGGIS:
''' A comment '''
Example from dedukti:
(; A comment ;)
line-comments-feature.html 路 multiline-comments-feature.html 路 print-debugging-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 33 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com