That's trendy to say, and there's a lot of truth to it, but the fact of the matter is that the number of lines of code in a project does convey useful information about its complexity. More accurate would be to say that it's only one dimension in a multi-dimensional metric.
Just like with an airplane, if we add in the weight and what it's made of and used for all of the sudden it becomes a pretty interesting metric.