According to the POSIX.1-2017 standard, a line is defined as:
POSIX.1-2017
A sequence of zero or more non-newline characters plus a terminating newline character.
Source: https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/