java Do not provide facility of pre-processor.
BTW you Can Use Comment Like as Below :
you're using Eclipse, you can simply mark the entire block of code you want to comment out then use CTRL+SHIFT+C for Commenting and uncommenting the Block of code.