RIO DE JANEIRO, Brazil (AP) _ A fire that burned out of control for a month on Brazil's largest offshore oil platform destroyed everything above the waterline at the $330 million facility, the state oil company Petrobras said.

''Only the submersible part can be reused,'' Petrobas spokesman Palmeira Guimaraes said of the Envhova platform. ''The rest was a total loss.''

The fire began at the facility 120 miles east of Rio on April 23 when leaking gas exploded and started to burn.

No one was injured, but Petrobras shut down production at Enchova and five nearby fields that together produce 77,000 barrels of oil and 2 million cubic meters of gas daily - about 11 percent of the nation's output.

On Saturday, Petrobras put out the main blaze at the oil platform by pumping water into the gas field through an auxiliary well, Guimaraes said.