When encoutered with such a scenario, it was advised in the Ubuntu Regulators chatroom to add the comment as a community wiki answer or edit the question to separate the question and the answer and add the answer as a community wiki answer with a note prepended saying,
According to a comment/edit made by the OP
Link to live exampleLink to live example
Just a reminder of how to mark an answer as a community wiki: