You can do this easily with UrlManager. It also depends on where you want to put the actual actions. You can put them in the product controller or comment controller
For example, for a comment controller, you can define the following rules:
'article/<article_id:\d+>/comments/create/' => 'comment/create',
'article/<article_id:\d+>/comments/' => 'comment/index',
article_id ( GET) create index. , .