Oct 28 (Reuters) - Global oil-and-gas giants including Exxon Mobil XOM.N, Chevron CVX.N and Equinor EQNR.OL posted huge profits in the third quarter, benefiting from surging energy costs that have boosted inflation around the world and hit consumers hard. Oil companies booked billions of dollars in profits as prices for crude, natural gas and fuels like gasoline hovered near record levels during the quarter. U.S. lawmakers have criticized the big oil companies for not doing more to raise production more swiftly to offset rising costs for consumers for heating homes and filling the gas tank.