Top 1,000 Features Creators Resources Extensions Blog Explorer CSV 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: Scroll
// A multiline 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: GNU Poke
#!/usr/bin/poke -L !#
Example from 1 languages: FML
### A comment ###
*

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