well how to say .... See datasheet p58 Figure 9-1

+

CMCON register p-57.

As you want to disable analog comparator, you don't need bit 3-7, we consider them as 0. Bit0 - bit 2 will be set to 1.
so CMCON=%00000111 = 7