Yes, you're right. I have mistaken pins RA0,1,2,3 / "AN0,1,2,3" for analog inputs rather than analog comparators. Doh!

Thanks for the confirmation.