WASHINGTON — Matt Harvey’s self-imposed gag order wasn’t a big hit in the Mets clubhouse.

For now the struggling pitcher has enough to consider, but Mets captain David Wright indicated Wednesday he may eventually talk to Harvey about his decision the previous night to bolt the clubhouse without speaking to reporters.

“Obviously, Harvey is going through a rough stretch, I think we’ve all been there,” Wright told The Post after the Mets beat the Nationals 2-0. “With that being said, I think the consensus is we should all be accountable for what we do on the baseball field.

“All of us like coming in here and talking when we have good games and a few of us, myself included, enjoy coming in here and talking when we don’t play well. Accountability is big and I think [Harvey] just had a bit of a lapse in judgement.”

Harvey, who is 3-7 with a 6.08 ERA, shunned reporters in late March because he was upset over headlines about his bladder infection — which the pitcher said was the result of not urinating frequently enough.

But Tuesday was the first time Harvey, who allowed five runs over five innings, shunned the media based on a performance. Wright said he hasn’t spoken to the pitcher about the matter — yet.

“We have a very good line of communication,” Wright said. “I think sometimes it’s time to give somebody a little bit of space before you start talking about these things. He wants more than anything to get this straightened out and figured out.

“A lot of us don’t necessarily agree with what he did, but we take this game very personally, and when we don’t play at a level we’re accustomed to, sometimes we make decisions that we regret.”

Harvey, according to Wright, doesn’t need to receive an unwanted reputation.

“Him, the stature that he has built, the last thing you want … you want to be known as an accountable player,” Wright said. “You want to be a stand-up guy, and this is a little blip on the radar screen. Hopefully we all learn from it and don’t make the same mistake again.”