CMCON = 7 will tuen off the comparator module, if your chip has this.

Can you post a picture of your project? It would be nice to see how you got everything setup.