Forum Moderators: open
No, to be quite brief and short in the answer.
Having webpages which are not W3C compliant can indeed hurt more or less your ranking, depending of type of errors found in your pages.
Considering that search engines may stop crawling your pages or missed links because of bad HTML, then it hurts your ranking/position.
Always have W3C compliant webpage, safer.
Also, get CSE HTML Validator, free HTML validator which helps to get on your mqchine the obvious HTML errors but less strict than W3C.