If you view source on your question, you'll see the answer for yourself. Code rendered as text - that is, shown on page as content - is just text. It isn't processed by a browser or search engine as code. For example:
<h1>This</h1>
By way of comparison, this comment field allows me to use plain text shortcuts to use actual HTML formatting, like the asterisks that I used to italicise the word "actual" or the equals signs I used to make this
Heading
That's a real <h1> heading, and will be seen as such by a search engine.
In short, if you can see the HTML on the rendered page, it's not being seen by a search engine as code and, therefore, isn't influencing SEO as code.
Incidentally, if there were 2 actual <h1> headings, a search engine would not be confused about which one is "real or correct" – they're both real, and both correct (there's no reason a page can't have 2 <h1> headings).
<code>is for – The Disintegrator Oct 28 '12 at 11:46