It depends what "modular" means.
Namely if the modules are built to be assemled into a permanently sited home, or later disassembled and relocated, AKA trailer home.
Around here, there are two manufacturers of the former, which are connected to service as a site-built home, with a the meter socked directly attatched, with a 3 wire feed and bonded/earthed in the home.