Yeah, changing the module.json file wouldn't be good too since this would possibly break when passing these files around from website to website.

I guess the best and most simple option would be to store a simple boolean in a MySQL table associated with the module?