UP-3541 Strip comments from layout doc on import

Remove all comments from layout document before import to
prevent skipping nodes