PIC32 Assign Port Bit to Variable (in C)
If you look at the device header file you should find unions defined to access individual bits of IO and other registers.

e.g. from Pic24 code - not sure if PIC32 is the same 

#define thepin LATBbits.LATB13

thepin=0;