My platormer The Sad duo has solid blocks, but I didn't want to implement complicated collision-handling code for corners that would be required for solid blocks, so I just have the player character instantly jump to the top if they are near the upper corners, and designed the levels so the player would never be able to touch the bottom side of any of the blocks.