Skip comment nodes

Add new condition to check and skip comment nodes (nodeType == 8)