MATLAB
Comment type:Line
Comment syntax:% comment
Snippet:
% This is a comment

a = 1;
b = 2;
c = 3;
sum = 0;

sum = sum + a;
% sum = sum + b; % this line is commented out
% sum = sum + c; % so is this one

MATLAB
Comment type:Block
Comment syntax:%{ comment %}
Snippet:
% This is a comment

a = 1;
b = 2;
c = 3;
sum = 0;

sum = sum + a;
%{
sum = sum + b; % this line is in the block comment
sum = sum + c; % so is this one
%}