Support extensionless <reference> comments.

Fixes #344.
Agreed, but honestly not worth it to add another error message.