Simply commenting code makes the whole application fail from a non affected class

Hi everyone, I need some help with a strange error I’m getting in UE4 when compiling my C++ project
the issue is that if I change any functionality of the game, for example I have:

and then I comment it like:

the project stops compiling correctly and start to fail indicating that my Enums.h class which is simply a header that has all of my Enums is failing and everything starts to fail even though the class does contain an Include for the Enums.h and that nothing else except the comment of the code has been changed, it’s like the game won’t allow me to change the code of my game from the original that I have in git

Unreal Failed log.txt

It appears you have a syntax error. Make sure you are not missing any curly braces { }.

Hi, yeah thats what it says, but everything is correct, but for some reason the enums.h says something is missing but it’s not. I tried doing one file at the time and compiling but it started failing when I got into HSSComponent.h.