Custom flags are for issues that require moderator intervention. They should only be used if you cannot accomplish something through other regular means. They will be declined if it is possible in other ways. Often, you'll see this rejection message
declined - flags should only be used to make moderators aware of content that requires their intervention
In this situation, two perfectly viable options that you can accomplish on your own are:
- leave a comment like the other user
- make (or suggest) the edit yourself
After the post is edited to include that code, you could use a regular comment flag for "obsolete," which might be approved.
Martijn comments that he was the mod who declined this specific flag "because it did not require a moderator to make that edit."