Block Comments is an actively used design pattern.

?Years Old
  • Block Comments does not currently rank in our top 50% of entities I track
  • I have 21 facts about Block Comments. what would you like to know? email me and let me know how I can help.
  • Read more about Block Comments

Languages without Block Comments include elixir, erlang, json

Languages with Block Comments include dart, haskell, javascript, julia, matlab, python, ruby, rust, sas

Example from dart:

/* a comment
 */

Example from julia:

#=
Comment block
=#

Example from matlab:

%{
Comment block
%}

Example from python:

'''
This is a multiline
comment.
'''

Example from ruby:

=begin
This is a multiline comment and con spwan as many lines as you
like. But =begin and =end should come in the first line only.
=end

Example from rust:

// see: https://doc.rust-lang.org/reference/comments.html
/* a block comment */

Example from sas:

 /* For example 1 use: x=abc;
  for example 2 use: y=ghi; */

Last updated July 8th, 2019