Check out example codes for "matlab comment". It will help you in understanding the concepts better.
Code Example 1
% This is a one-line comment
%{
This is a
multi-line
comment
%}
Code Example 2
%{
Commented code here.
%}
Learn ReactJs, React Native from akashmittal.com