Just about any style guide you look at will tell you to "avoid trailing whitespace", where trailing whitespace is any non-newline whitespace character on a line that is not followed by a non-whitespace character on the same line.
See https://github.com/bbatsov/ruby-style-guide for example, or github's internal ruby style guide.
Since a blank line has no non-whitespace characters, any spaces or tabs on a blank line would constitute trailing whitespace, and should be avoided.