I have several candidates for the best inline 6.
The Cummins 12V first gen Dodge turbo diesels. I had one with 300,000 miles on it, and after sitting outside for 4 years uncranked in a 1 ton 4WD Dodge pickup, it started in half a revolution....... in the winter. It's got a Holset turbo, mechanical direct port fuel injection, a maximum operational speed of 2,800 RPM, has 460 ft/lbs of torque, and still has 40% less moving parts than a conventional V8 engine. It's 5.9L (360 cubes), and holds one full case of oil in the crankcase. Plus it sounds insane, and is easily capable of over 600 ft/lbs of torque with less than $1,000 worth of bolt-ons. This engine attached to a Getrag 5 speed manual transmission will last you 400,000 miles before Cummins recommends a rebuild. After that, the engine will be set for another 400,000 miles. We had a guy on my old Cummins Turbo Diesel forum with 1.2 million miles on a 1 ton Dodge truck powered by a Cummins Turbo Diesel and a Getrag 5 speed. most guys had between 275,000 and 650,000 miles on their Cummins. Mine had 300,000.
The second candidate is the Nissan RB25DE. It's 2.5L, features aluminum block and head design, and has dual overhead cams. It can rev to ungodly limits, and is crazy powerful. With one or more turbos, you can get easily over 700 HP from a streetable engine. Props to Nissan for showing the kind of impressive numbers an inline 6 is capable of.