Measures Concepts
GitHub icon

MultiLine Comments

MultiLine Comments - language feature

< >
/* A comment */
Example from Python, Cython:
''' A comment. '''
Example from HTML, XML, SVG, Argdown:
<!-- A comment -->
Example from Ruby:
=begin A comment. =end
Example from MATLAB:
%{ A comment. %}
Example from PowerShell:
<# A comment #>
(* A comment *)
Example from Lua:
--[[ A comment. --]]
Example from Julia:
#= A comment. =#
Example from Clojure:
(comment A comment )
Example from Scheme:
#| A comment |#
Example from Delphi:
{ A comment }
### A comment ###
Example from Elm, PureScript, Frege, omega, Orc:
{- A comment -}
Example from Smalltalk:
" A comment "
Example from D:
/+ A comment +/
Example from Nim:
#[ A comment ]#
Example from Coq:
(* a comment *)
Example from C3:
/* Multiline comment */
Example from Speedie:
/* multiline comments */
Example from Twig:
{# A comment #}
Example from Jule:
/* A multi line comment */
Example from 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 FML:
### A comment ###
Example from HAGGIS:
''' A comment '''
Example from dedukti:
(; A comment ;)

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

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

This question asks: Does the language have multi-line comments?

Read more about MultiLine Comments on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout