Comments are for why code is written the way it is, commits are for why the code is written in the first place.
You _could_ tag every line of code with
// JIRA-123 The PM wants this to be blue
but if you did it would become unreadable and wouldn't be kept up to date.