Depends if the line itself is 2d or 3d. Browse this thread for options:
A ribbon particle could look and perform better than a Spline Mesh Component. But a SMC would give you more flexibility. What method to choose depends on what this is going to be used for.