The comment shouldn't be removed from the database, though. The code that displays the comments on the bug page should simply hide it if it's empty. This is to ensure that the permalinks of the comments don't change when removing an attachment.
The comment shouldn't be removed from the database, though. The code that displays the comments on the bug page should simply hide it if it's empty. This is to ensure that the permalinks of the comments don't change when removing an attachment.