Hydrodynamic transport and violation of the viscosity-to-entropy ratio bound in nodal-line semimetals