Hi Dominique,
Thank you for bringing this issue up to us. By our coding standards, the second method you provided is the correct way and those can be found here: Epic C++ Coding Standard for Unreal Engine | Unreal Engine 5.1 Documentation
Even though those are our standards, I can’t see why your original format shouldn’t work. I’ve put in a bug report for it and while I hope it’ll be fixed, I can’t guarantee that it will be changed. For your reference, the bug number is UE-15788
Have a nice day