def comment_parser(comment):
try:<EOL><INDENT>if comment['<STR_LIT:type>'] != '<STR_LIT>':<EOL><INDENT>return item_parser(comment)<EOL><DEDENT><DEDENT>except KeyError:<EOL><INDENT>return deleted_parser(comment)<EOL><DEDENT>return Comment(<EOL>comment['<STR_LIT:id>'],<EOL>comment['<STR_LIT>'],<EOL>__check_key('<STR_LIT>', comment),  <EOL>comment['<STR_LIT>'],<EOL>comment['<STR_LIT:text>'],<EOL>comment['<STR_LIT:time>'],<EOL>comment['<STR_LIT:type>'],<EOL>)<EOL>
Parses a comment object