@param buf used to add the comments contents (out) -- if it's null, it'll simply advance to the position and return it.
@param i the # position
@return the end of the comments position (end of document or new line char)
@note the new line char (\r or \n) will be added as a part of the comment.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.