Allow empty `comment` when `confidence` is present.

[#65341064]
Improve handling of empty responses

[#65341064]
Remove trailing whitespace
Merge branch 'bug_fix_empty_response_creation-#65341064'