Now, I'm by no means an expert, but I can confirm this. Powerlifters generally try to perform deadlifts with a "neutral" spine. This doesn't exactly mean "straight"—you can consult a good coach for details—but it's pretty close. Here's a pretty typical demonstration which is good enough to visualize it, though other coaches may differ in the details: https://www.youtube.com/watch?v=4AObAU-EcYE
As I understand it, the idea is to distribute the weight evenly around the spinal disc, and to avoid putting too much pressure on the front edge of the disc by curving the spine forward.
A similar effect can be achieved by keeping the back closer to upright and lifting with the legs, as seen in several squat variations.
Of course, the other things that may help are having enough muscle and not carrying too much abdominal weight. Anecdotally, weak spinal stabilizer muscles seem to contribute to some people's back pain.