// A comment
# A comment
-- A comment
% A comment
; A comment
MOVE ABC to XYZ *> This is a comment.
' A comment
C A comment
-# A comment
\ A comment
⍝ A comment
NB. A comment
; I am a comment
! A comment
/ A comment
\* A comment
__ A comment
// comment
-- Counts iterations.
--- A comment
~ A comment
#<A comment>
;; A comment
COMMENT A comment
“”” A comment
Languages with Line Comments include JavaScript, Python, C, Java, Perl, Ruby, PHP, Go, TypeScript, SQL, C#, R, Bash, PowerShell, Swift, Rust, Scala, Lua, MATLAB, Haskell, Kotlin, Clojure, Elixir, CoffeeScript, Objective-C, Julia, SAS, Erlang, Prolog, COBOL, Dart, Solidity, Visual Basic, Ada, Nim, YAML, Fortran, PostgreSQL, Racket, TOML, Crystal, Zig, Reason, MySQL, D, Elm, Scheme, Haxe, GraphQL, WebAssembly, Groovy, awk, Tex, F#, Chapel, Pug, LLVM IR, ClojureScript, PureScript, VHDL, HCL, HAML, Idris, Protocol Buffers, Forth, Visual Basic .NET, Ini, Deno, APL, JSON5, Yacc, ARM, LaTeX, OpenCL, J, Red, fish, Maple, Embedded Crystal, ANTLR, odin, Lean, Delphi, sed, V, Stata, ABAP, Verilog, Tcl, Pony, FLUX, BASIC, ActionScript, Hy, starlark, Dhall, KaTeX, Ballerina, AutoHotkey, Fennel, PostScript, Squirrel, Wren, Less, Common Lisp, API Blueprint, Eiffel, PEG.js, Smali, Cap'n Proto, MoonScript, MUMPS, Flow, VBScript, Zephir, Makefile, Frege, DOT, NetLogo, Nginx, Logo, Pig Latin, carp, PL/SQL, Batchfile, GNU Octave, Koka, Vala, M4, Lex, Terra, QML, C3, Jsonnet, Eve, Halide, PRQL, SPARQL, Processing, Dafny, Bicep, MIPS architecture, Nearley, mlir, Futhark, Agda, VBA, Emacs Lisp, Hack, Hjson, Ceylon, POV-Ray SDL, Applescript, QBasic, AMPL, SystemVerilog, unison, Expect, x86 Assembly, progsbase, NumPy, YASnippet, GAP, ECL, Scilab, JAI, Click, Cue, Slope, Cryptol, AutoIt, AGC, Taichi, Golo, Simula, idyll, wisp, GLSL, Transact-SQL, mgmt, Clean, WDL, eC, Sage, Boo, PowerBuilder, HLSL, Felix, Mercury, Nemerle, Ron, BCPL, CWL, Ring, CIL, AspectJ, SuperCollider, K, Dylan, Perl 6, Datalog, Observable, Mu, Oz, Logica, TLA, Xojo, Flow9, Nit, SCSS, Gosu, REBOL, Modelica, Bison, Shen, JCL, xBase, ATS, CLIPS, Pandas, SugarSS, Fancy, Io, Fantom, NSIS, datascript, Pike, LFE, ArkScript, Java Properties, X10, SourcePawn, NewLisp, LilyPond, Lasso, OpenSCAD, NCAR Command Language, Turing, P4, BlitzMax, PL/pgSQL, Csound, E, Icon, Whiley, Reia, FoxPRO, PureBasic, PAWN, mun-lang, LiveScript, Cg, Filebench WML, Angelscript, clay, JSON with Comments, Ch, Dockerfile, IGOR Pro, dlvm, Objective C++, Clipper, LiveCode, Nix, Java Bytecode, JADE, Logos, Monkey, Gherkin, Euphoria, GDScript, Argdown, lispyscript, SNOBOL, Objective-J, BlitzBasic, Classroom Object Oriented Language, Ragel, Vigil, Alloy, spry, Harbour, Gettext Catalog, dex, Praat Script, Cypher Query Language, Ren'Py, PicoLisp, CIL, MQL5, Ligo, Apex, Falcon, Pan, DAX, Mask, Volt, Concise Encoding, Netwide Assembler, OCL, Spatial, Guile, Gerbil Scheme, Augmented Backus-Naur Form, Tea, Croc, OX, C shell, Seed7, muPad, popr, Script.NET, UNLAMBDA, Linden Scripting Language, spiral, Not Quite C, Opal, High Level Assembly, neut, Gentoo Ebuild, Cyber, LPC, JSLT, DM, RELAX NG, NetLinx, BitBake, NestedText, Jule, Game Maker Language, Eclipse Command Language, S-PLUS, Jasmin, PEG, Strips, HuJSON, Redcode, HOPE, Dc, SETL, Structured Query Reporter, Spin, BETA, SMT, HiveQL, Cycript, FloScript, Unicon, Z, Sieve mail filtering language, Slice, Sophia, Rc, CIR, ldpl, LoomScript, Hocon, PIC, storyscript, Sather, Vale, MiniD, Cell, Nymph, CartoCSS, Grammatical Framework, Ezhil, LookML, Refal, Type Language, SRecode Template, Brightscript, Not eXactly C, Maya Embedded Language, Adventure Game Studio Script, pointless, gentee, ShaderLab, GCC Machine Description, BLISS, QB64, KRL, Charity, HXML, Parser 3, Mouse, Action!, PowerBASIC, Aldor, Frink, Savi, kai, S-algol, KiXtart, Alpine Abuild, XBase++, silk, manool, OpenVera, Wart, Uniform eXchange Format, MVEL, Raku, Project Mentat, tht, EuLisp, JS++, Heron, NS Basic, Mary, Easytrieve, Yoix, parasail, Lite-C, Yet Another Scripting Language, Fjölnir, Aardvark, Rescript, winxed, xxl, Judoscript, PROMAL, Quaint, Language Server Index Format, neeilang, Bel, taf, carth, FutureBASIC, Rust MIR, VHDL-AMS, Tuple space, Pawn, Boron, Xbasic, SIL, PowerQuery M, Amazon Redshift, True BASIC, Rita, Q#, owen-lang, SimCode, OEM, Claro, BuddyScript, Pnuts, Ion, MACRO-10, Ren, ISETL, ActiveVFP, Action Code Script, Fable, omega, z80, blz, Recfiles, StarOffice Basic, CLOS, Operational Control Language, hilvl, AmbientTalk, ThinBasic, Zimpl, PromQL, Guix Workflow Language, flagship, fizz, beads-lang, Atomese, JSL, stella, Spice, rosette-lang, Plot, Lexon, epsilon, Boogie, boa, OptimJ, XBLite, holyc, Treelang, verifpal, Sweet Expressions, lain, Parrot BASIC, FML, Caché Basic, Module Management System, WxBasic, luau, Bla, Soy, Reactive Plan Language, Literate Agda, Finite State Language, Turbo Basic, rbs, GraphQL Schema Definition Language, ca65 Assembly, USD, Yedalog, SubX, StruQL, Robots.txt, CFScript, ppm-format, Netpbm grayscale image format, Portable Bit Map Format, dslx, ctalk-lang, Creative Basic, wescheme, PkgConfig, PacmanConf, turnstile, ddfql, tremor-query, rbscript, zephyr-asdl, sora, Lighttpd configuration file
Languages without Line Comments include HTML, CSS, JSON, XML, Mathematica, Pascal, Markdown, OCaml, SPSS, Smalltalk, SVG, Standard ML, XQuery, ML, Regular Expressions, Wolfram Language, OWL, Modula-2, Rexx, Modula-3, Object Pascal
View all concepts with or missing a hasLineComments measurement
Read more about Line Comments on the web: 1.