qt_add_resources error

It seems AUTORCC from CMake works fine.
I filed this issue [QTBUG-112496] CMake macro qt_add_resource does not handle <file> tokens in comments - Qt Bug Tracker.
It seems the issue in a regexp in qt_add_resource macro provided by Qt Qt6CoreMacros.cmake#L234