Don't add comment node when resolve fails