Sadly none of your advices worked. But hey, at least I managed to capture an example of the comment problem I mentioned earlier. This is the code before formatting, with separated comments:
And this is after formatting (bugged reroute node here too):
I sent the link to download the project to your email: func.pwong@gmail.com
These are a few of the affected functions:
W_BuildingSelector → EventPreConstruct
BP_TerrainGenerator → CheckTerrain
BP_TerrainGenerator → CalculateLake
BP_BaseBuilding → AddItemToProduction (Bad reroute and comments here)
PS_RTS → PayResourceCosts