use comments in algorithm latex code example Example: comment in latex %this is a comment (use percent sign %)