It is appeared that typeof accepts comments, for example, with this type:
export type StaticIcon = {
new: typeof(
--[[
Constructs an empty <code>32x32</code> icon on the topbar.
]]
function(): Icon
return (nil :: any) :: Icon
end
),
} & StaticFunctions
using new shows the comment in typeof:

This is a nice feature, but it is not documented.
In what cases the feature can be used?
Thank you!
Affected URL: Roblox globals | Documentation - Roblox Creator Hub