Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

MultiLine Comments

< >
/* A comment */
Example from 1 languages: Python
''' A comment. '''
Example from 4 languages: HTML, XML, SVG, Argdown
<!-- A comment -->
Example from 1 languages: 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
Example from 1 languages: Ruby
=begin A comment. =end
Example from 1 languages: PowerShell
<# A comment #>
Example from 1 languages: Lua
--[[ A comment. --]]
Example from 1 languages: MATLAB
%{ A comment. %}
Example from 1 languages: Clojure
(comment A comment )
Example from 2 languages: CoffeeScript, MIPS architecture
### A comment ###
Example from 1 languages: Julia
#= A comment. =#
(* A comment *)
Example from 1 languages: Nim
#[ A comment ]#
Example from 1 languages: D
/+ A comment +/
Example from 5 languages: Elm, PureScript, Frege, Orc, omega
{- A comment -}
Example from 1 languages: Scheme
#| A comment |#
Example from 1 languages: Coq
(* a comment *)
Example from 1 languages: Smalltalk
" A comment "
Example from 1 languages: Delphi
{ A comment }
Example from 1 languages: C3
/* Multiline comment */
Example from 1 languages: Twig
{# A comment #}
Example from 1 languages: groff
text text text... .ig This is part of a large block of text that has been temporarily(?) commented out. We can restore it simply by removing the .ig request and the ".." at the end of the block. ..
Example from 1 languages: Jule
/* A multi line comment */
Example from 1 languages: dedukti
(; A comment ;)
Example from 1 languages: HAGGIS
''' A comment '''
Example from 1 languages: Speedie
/* multiline comments */
Example from 1 languages: FML
### A comment ###
*

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

*

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

*

View all concepts with or missing a hasMultiLineComments measurement

*

Read more about MultiLine Comments on the web: 1.

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io