Stanton had been scheduled to be the designated hitter in Saturday night's interleague game against Tampa Bay.
Florida manager Edwin Rodriguez said Stanton told him after batting practice that he had some blurry vision in the right eye.
"He said it's been bothering him for a while," Rodriguez said. "He felt like today it's getting worse. It seemed that the ball was a little bit blurred. Then's when I decided to scratch him out of the lineup. It's hard to hit a baseball when you're not 100 percent."
The Marlins are planning to have Stanton examined by an eye doctor.
Stanton is hitting .247 with 16 homers and 41 RBIs in 67 games this season.
Jose Lopez replaced Stanton as the DH.