>Using
Code:
preceding-sibling::node()[1][self::comment()]
>Returns nothing. I am probably missing something.
You're missing the third option in my original response which tells you how to deal with intervening whitespace text nodes.
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference