Once again the Catholic Church finds itself at odds with St. Paul who made significant theological points based whether a word was singular or plural.
each line was dictated by the Holy Spirit
The Church has always rejected the "dictation model" of inspiration. That's what the Pope was referring to.
Obviously not every part of Scripture is "literally true," either; that would mean that there were no allegories or parables, and Scripture itself says that there are.