The pipeline maintained by state oil monopoly Pemex exploded at around 5 a.m. in San Martin Texmelucan, a small community in the state of Puebla about 50 miles (75 kilometers) east of Mexico City.