Can you generate UFUNCTION using preprocessor macro?

Tried, didn’t work, UFUNCTION created using preprocessor macro won’t be added to generated.h file

Is it possible to force UHT to execute standard preprocessor directives before generating code? I really want to code lazily sometimes

No. UHT isn’t that smart to resolve MACROs while parsing. It’s a simple parser.