Element from comments

fixes issue 1031

Checks to see if there is a comment before a <tr>