How will you comment in Ruby.

bookmark

Ruby comments are non-executable lines in a program. They do not take part in the execution of a program.

Single line comment syntax:

#This is single line comment.  
Multi line comment syntax:

=begin  
This  
is  
multi line  
comment  
=end