My farm has a pipeline running through it, and it’s quite close. However, I live near the Capital, so if you want a farm and also want to be able to easily commute to downtown, you’re probably near something undesirable - I am also close to a train track, and some other industrial property. Other farms in the area have power utilities running through, or are near transfer stations, etc.
The issue to consider right now is whether that property is one of the ones that are being looked at for expansion - my property is, and I’m not happy about it. Property owners are trying to block the expansion, and I’m crossing fingers.
You NEED to know before you consider buying; it will widen the easement and put another pipe underground, which would be a big construction zone, plus would potentially rip up fences, outbuildings, etc. if they were built.
Aside from that - no, it’s not a huge problem. The risk for leaks or explosion exist, but is very small. But there are restrictions on what you can do with the property - you can plant it, but you need to realize they have the ability to mow, take down fences, etc. It’s unlikely they would do that, but you just need to be aware. We have a creek running near the pipeline easement, and we considered flooding it and making a pond, and that would be prohibited.
ETA: I guess my feelings would be - I might buy a house with a pipeline, but I’m not sure I’d build one there…if you have other reasonable options.