Why Does Moving the GENERATED_BODY() in the AIController.h cause errors.

I was trying to add some things to the AIController.h earlier today and i noticed that if i put anything before the GENERATED_BODY() that causes it to move or not be on the line its on i get lots of errors. Does anyone know why this happens?