It seems like a bug when creating a comment without passing line via GitHub REST API

Recently when I called an API to create a comment for a certain commit according to the document, I found that the result would apply to all lines with the comment rather than applying to the whole commit, if I did not pass position and line parameter.

any progress for the question?