Marte was not available for comment after the game. Manager Clint Hurdle described the condition as "recurring."
"It originally happened [on Tuesday] night; he felt a twinge," Hurdle said. "It's a weird kind of thing. It doesn't show up all the time, but it showed up tonight, repeatedly."
Marte did not take the field at the start of the third, two innings after aggravating the discomfort while fouling off a pitch from Cardinals right-hander Michael Wacha. Sean Rodriguez replaced Marte in left.
Marte indicated discomfort in the hand after hitting an opposite-field foul in the top of the first. Assistant trainer Ben Potenziano checked him out, with Hurdle looking on, then Marte finished the at-bat, fouling out to first base.