A fire early Friday displaced about two dozen people and impacted at least seven town homes in Montgomery County, Maryland, according to the fire department. No injuries were reported.