A team has finished a game with 23-0 singles and extra-base hits 2 times since 1897, most recently NW1 on 29 July 1934. That is about one every 221,502 team-games.
Box score for the most recent one ↗
21-10 22-0 22-1 22-3 22-4 22-6 23-0 23-2 23-4 23-5 23-6 23-10 24-0
The whole distribution — Singles and Extra-Base Hits · All 18 shapes