There are no pain receptors on the surface of the brain.
(According to the Royal College of Nursing web site, some patients undergoing brain surgery have volunteered to have their exposed brain stimulated with electrodes during surgery. When not under general anesthesia, they can even report their sensations to the experimenter. Volunteered! I’m feeling queasy again.)